package com.jht.btconnect;

import android.app.Application;
import android.content.Context;
import android.util.Log;

public class BTApp extends Application {
    private String TAG = getClass().getSimpleName();

    private static Context context = null;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        Log.d(TAG, "onCreate: ");
    }

    public static Context getAppContext(){
        Log.d("BTApp", "getAppContext: context ==> " + context);
        return context;
    }
}
